/*
 * Copyright (c) 2009. Silenus Consultoria, S.L.
 */
package es.silenus.detecta.dao;

import es.silenus.detecta.model.SurveyAnswerHeader;


/**
 * @author <a href="mailto:dgarcia@silenus-consultoria.es">Daniel Garc&iacute;a</a>
 * @since 01-abr-2009 11:31:37
 */
public interface SurveyAnswerHeaderDAO extends ReadWriteDAO<SurveyAnswerHeader, Long> {
	/**
	 * Checks if a given entity id has filled in a given survey.
	 *
	 * @param surveyId the survey id.
	 * @param entityId the entity id.
	 *
	 * @return true or false.
	 */
	public boolean hasEntity(int surveyId, final String entityId);
}
